<!DOCTYPE html>
<html lang="en">
	<head>
    	<meta name="layout" content="main_pc">
        <title>个人认证信息</title>
        <link rel="stylesheet" href="${resource(dir: 'css', file: 'user.center.css')}" type="text/css">

    </head>
<body>

    <div class="container-fluid">

		<section class="quick-navi mb20">
			<div class="container">
				<a href="#" class="quick-link"><span>火堆工作台</span><span
					class="caret"></span></a>
				<!--a href="#" class="quick-link">联系我们</a-->
			</div>
		</section>

		<section>
			<div class="container mb50">
				
				<g:render template="navigate"   model="[status: status]"/>				
				
				
				<div class="right-content" id="rightconsole">
				
                <table class="table table-bordered">
                <tr>
	                <td><label>真实姓名</label></td>
	                <td><p class="txt">${user.realName}</p></td>
                </tr>
                <tr>
	                <td><label>身份证号</label></td>
	                <td> <p class="txt">${user.idNumber}</p></td>
                </tr>
                <tr>
	                <td><label>手机号</label></td>
	                <td><p class="txt">${user.mobile}</p></td>
                </tr>
                <tr>
	                <td><label>银行卡</label></td>
	                <td><p class="txt">
                	${user.bankCard}
                	</p></td>
                </tr>
                <tr>
	                <td><label>开户行</label></td>
	                <td><p class="txt">
                	${user.bankName}
                	</p></td>
                </tr>
                <tr>
	                <td><label>开户支行</label></td>
	                <td><p class="txt">
                	${user.subBranch}
                	</p></td>
                </tr>
                <tr>
	                <td><label>身份证正面照片</label></td>
	                <td><img src="/scfire/project/imgRead?img=${user.activeIDNumberPhoto}"></td>
                </tr>
                <tr>
	                <td><label>身份证反面照片</label></td>
	                <td><img src="/scfire/project/imgRead?img=${user.negativeIDNumberPhoto}"></td>
                </tr>
                <tr>
	                <td><label>个人简介</label></td>
	                <td><p class="txt">${user.description}</p></td>
                </tr>
                
                
                <tr>
	                <td colspan="1">个人信用信息（来自好信度）：<input type="button" onclick="queryInfo(${user.id})" value="重新查询"/></td>
                </tr>
                
                <g:if test="${user.creditRank != null}">
                
                <tr>
	                <td><label>综合评分</label></td>
	                <td><p class="txt">${user.creditRank.credooScore}</p></td>
                </tr>
                <tr>
	                <td><label>基础信息评分</label></td>
	                <td><p class="txt">${user.creditRank.bseInfoScore}</p></td>
                </tr>
                
                <tr>
	                <td><label>金融需求评分</label></td>
	                <td><p class="txt">${user.creditRank.finRequireScore}</p></td>
                </tr>
                
                <tr>
	                <td><label>还款能力评分</label></td>
	                <td><p class="txt">${user.creditRank.payAbilityScore}</p></td>
                </tr>
                
                <tr>
	                <td><label>信用履约评分</label></td>
	                <td><p class="txt">${user.creditRank.performScore}</p></td>
                </tr>
                
                <tr>
	                <td><label>行为数据评分</label></td>
	                <td><p class="txt">${user.creditRank.actionScore}</p></td>
                </tr>
                
                <tr>
	                <td><label>成长性评分</label></td>
	                <td><p class="txt">${user.creditRank.trendScore}</p></td>
                </tr>
                </g:if>
                </table>


	</div>
	</div>
	<div class="clearboth"></div>
    </section>
    
    </div>

	<script type="text/javascript">
	(function() {
        
    })();

    function queryInfo(uid){
    	window.location.href='/scfire/manage/userCreditInfo?userId='+uid;
    }
	</script>

</body>
</html>